subject: OTHER FUNCTIONS OVERVIEW overview: The Other Functions menu is a potpourri of PC-Type II functions which do not seem to lend themselves to the main categories as broken out in the Main Menu. These functions are presented in this menu to provide a convenient place to look when in doubt. Ŀ Other Functions: page (A)nswer insert 206 (C)ursor drag (Off) 207 (D)ate stamp 208 (E)GA/VGA toggle 209 (G)et ASCII character 210 (M)arkers for Print 211 (P)ut ASCII character 210 (T)ime stamp 208 e(X)it <--Exit Other Functions Each of the functions in this menu will be described in turn. The "(T)ime stamp" option is discussed together with the "(D)ate stamp option", and the "(P)ut ASCII character" option is combined with the "(G)et ASCII character" option. 199 subject: ANSWER INSERT discussion: When you use the CALC feature of PC-Type II to calculate an equation or numbers in your text, the result is stored in a buffer called the "math buffer". In order to copy this result from the buffer to your text you must: (1) Move the cursor to the desired location in your text. (2) Press Ctrl_ or select the option "(A)nswer insert" from the Other Functions menu. When you do so, the value in the buffer will be inserted into your text as if you typed it in the insert mode. An extra space will be added at the end of the result. The contents of the math buffer will remain in the buffer until you perform another CALC operation. Hence, if you want to insert the same value in a number of locations, you can do so easily. NOTE: For details about the CALC command, read "Calculate" in the Command Line section. example: Suppose: (1) The math buffer contains the value "4,300". (2) Your cursor is on the letter "d" in the text: "It will cost dollars". (3) You select the "(A)nswer insert" option in the Other Functions menu. The resultant text will be: "It will cost 4,300 dollars". and the cursor will again be on the "d". 200 subject: CURSOR DRAG discussion: The "cursor drag toggle", when activated, causes the current "default fill character" to be placed in your text area where the cursor was located when an arrow key is pressed. In this sense, the character appears to be "dragged" around the screen following the cursor. The "default fill character" is always visible in the status area of your screen and can be changed through the "(R)eset special characters" option of the Configuration Menu, with Ctrl@, or with the "(G)et ASCII character" option of the Other Functions menu. To turn the "cursor drag toggle" on, select the "(C)ursor drag" option of the Other Functions menu. When you do so, a "D" will flash in the status area of your screen to warn you that cursor movement will cause the "default fill character" to be placed in your text. The state of the "cursor drag toggle" can also be seen in the Other Functions menu itself as: (C)ursor drag (On ) or (C)ursor drag (Off) It should be noted that when the drag is ON, it is only the four arrow keys which will cause the fill character to be placed in your text. example: In the text area below, the cursor was at "A" and the "default fill character" was "" when the "drag toggle" was turned on. The cursor was then moved from A to B with the right arrow, from B to C with the down arrow, etc. until arriving back at "A" at which point the "drag toggle" was turned off. .................. .................. ...A..........B... ...... .................. ................ .................. --> ................ .................. ................ .................. ................ ...D..........C... ...... .................. .................. NOTE: If the current "fill character" is the space and the "cursor drag toggle" is on, moving the arrow keys will overwrite text with spaces. 201 subject: DATE STAMP / TIME STAMP discussion: It is handy to be able to easily insert the current date and time into your text. This is handled in PC-Type II by: (1) Moving the cursor to the desired location in your text. (2) Selecting the "(D)ate stamp" or "(T)ime stamp" option from the Other Functions menu. When you do so, the current date or time will be inserted into your text as if you typed it in the insert mode. An extra space will be added at the end of the date or time. There are eight time formats you can select from in the (T)ime Options option of the Configuration Menu. (See "Time Options" in the Configuration section.) There are fourteen date formats you can select from in the (D)ate Options option in the Configuration Menu. (See "Date Options" in the Configuration section.) examples: Suppose: (1) Your cursor is on the letter "a" in the text: "It is now and I'm tired" (2) You select the "(T)ime stamp" option from the Other Functions menu. The resultant text will be: "It is now 09:00:50 pm and I'm tired" Suppose: (1) Your cursor is on the letter "b" in the text: "Today is but ..." (2) You select the "(D)ate stamp" option from the Other Functions menu. The resultant text will be: "Today is March 5, 1989 but ..." 202 subject: EGA/VGA TOGGLE discussion: If you have an EGA or VGA monitor, the (E)GA/VGA toggle option in the Other Functions menu will toggle the number of lines displayed on the screen from low density, to medium density, to high density. Low density is the standard 25 lines. Medium density is around 35 lines for EGA and 40 lines for VGA. High density is 43 lines for EGA and 50 lines for VGA. This option is equivalent to the Ctrl E keystroke outside the menus. NOTE: If you do not have an EGA or VGA monitor, this option has no effect. 203 subject: GET / PUT ASCII CHARACTER get: Unless you use European, Greek, and line characters often, it is difficult to remember their numbers. The "(G)et ASCII character" in the Other Functions menu allows you to select the desired character visually. By selecting this option, a window like that shown below appears. The window contains all the characters PC-Type II will accept in a text file. Ŀ . . . . . . . . . . . . . . . ... ! " # $ % & ' ( ) * + , - . ... @ A B C D E F G H I J K L M N ... ` a b c d e f g h i j k l m n ... ... ... ... ... To choose a character, move the cursor to the desired character and press F10. The character selected now becomes the "default fill character" and as such, will appear in the upper left corner of your screen. (See "Special Chars" in the Configuration section.) NOTE: This function is similar to the keystroke Ctrl@. The main difference is that after selecting your character with Ctrl@, it will automatically by placed in your text at the cursor location as if you had typed it in. Another difference is that Ctrl@ can be called anywhere within PC-Type II where text must be entered (.e.g, when defining your printer escape codes from the Configure Menu). The character window displayed above is also available when performing the "(F)ill" option of the Highlight Options menu. put: The "(P)ut ASCII character" option of the Other Functions menu places the current "default fill character", (visible in the status area of your screen), wherever the cursor is located. It behaves just as if you typed the character from the keyboard. NOTE: This option is identical to the Ctrl^ (or Ctrl 6) keystroke except that Ctrl^ can be called anywhere within PC-Type II where text must be entered. 204 subject: MARKERS FOR PRINT overview: Selecting the "(M)arkers for Print" option of the Other Functions menu causes the Print Marker Options menu to be activated. (This is equivalent to pressing F3 from outside the menus.) A sample Print Marker Options menu is shown below. From this menu you can add and remove print markers in your text. Ŀ PRINT Marker options: ͵ (O) Delete cursor mark (L) Delete line marks (Z) Zap all marks (N) Next mark (P) Previous mark e(X)it (1) Underline On (2) Underline Off (3) bold On (4) bold Off (5) Script On (6) Script Off A print marker "flags" that a printer operation, such as underlining, is to be turned on or off. Printer operations are defined with "escape codes" - a series of characters which have special meaning to your printer. (These codes are defined via the "(E)scape codes" option in the Configuration Menu and can be saved to special .PRN files.) (See the Configuration section of this manual.) Suppose a print marker is in your text and you are printing your file. PC-Type II sends characters to your printer as it encounters print markers in your text. When PC-Type II sees a print marker, it: (1) checks to see what type of marker it is (e.g. an Underline ON marker) (2) looks up the printer escape code associated with that marker (3) sends the characters in the printer escape code to your printer and (4) resumes printing your file. NOTE: Print markers are saved to disk with your file if you specify a .PCT extension. If you do not specify the document format extension .PCT, they will be lost. In the pages which follow, each option of the Print Marker Options menu will be discussed. 205 subject: PRINT MARKER ENVIRONMENT discussion: When the Print Marker Options menu is visible on your screen, you are in the "print marker mode". While in this mode, most keystrokes are ignored. You can, however, move the cursor. Since the arrow keys maneuver the menu, to move the cursor you must hold down the Ctrl key while pressing the arrow keys. If print markers already exist in your file, you can also move from one marker position to another by selecting the "(N) Next mark" or "(P) Previous mark" options in the menu. When the cursor is at a marker position, the marker type is displayed in the Message Line after the comment "Marks at cursor:". If the cursor is not at a marker position it will read: Marks at cursor: None Multiple print markers can be at the same location, e.g., you can want italics and bold to be turned on at the same point. As you add and delete markers in your file, they will be referenced by color in the text area and you will see their names appear and disappear on the Message Line. You will remain in the "print marker mode" until you either select the "e(X)it" option in the menu or press the Esc key. NOTE: A print marker in your text file references an escape code in the "Escape Code Definition" table. This reference is accomplished through the position of the escape code in the table, not the name assigned to the print marker. You can load escape codes for different types of printers and save them in different .PRN files. If you load a different .PRN file, remember that if a print marker in your text file referenced the fourth escape code by position in one .PRN file, it will also reference the fourth escape code by position from another .PRN file. Be sure in such cases that the printer functions by position are the same. 206 subject: ADDING PRINT MARKERS adding: If print markers were defined or loaded into PC-Type II, their names and states will be presented below the "e(X)it" option in the Print Marker Options menu as: "(3) Bold On" To reference the "Bold On" marker in your text file, you would move the cursor to the desired location and press the '3' key. When you add an ON marker as above, the function description, e.g. "Bold ON", will appear on the Message Line. color: Also, after adding an ON marker, the text area from the current cursor position toward the end of the file will change to the color defined in the "Escape Code Definition" table for that marker. This new color will continue down until the corresponding "OFF" marker or a different "ON" marker is encountered. If multiple markers exist at the same location, the screen will assume the color of the last marker entered. placement: Besides their function, a basic difference exists between the ON and OFF markers. The escape code for an ON marker is sent to the printer BEFORE the character to which it is referenced is sent while the escape code for an OFF marker is sent to the printer AFTER the character is sent. Thus if you wanted the word "BOLD" in your text to be printed in BOLD, you would place the ON marker on top of the "B" and the OFF marker on top of the "D". If for example the ON escape characters were {Esc}1 and the OFF escape characters were {Esc}2, and if you marked the word BOLD as described above, then the printer would receive: {Esc}1BOLD{ESC}2 If they were reversed, however, then the printer would receive: B{Esc}2OL{ESC}1D which would produce an entirely different result. 207 subject: DELETING PRINT MARKERS discussion: If a print marker exists in your file you can remove it by deleting the line in which it is located or by pressing F6, (erase to the end of the line). You cannot, however, remove it with the Del key. The standard way to remove markers is through the Print Marker Options menu. Three methods for deleting markers are provided in this menu. (1) "Zap all marks" Selecting this option by pressing the Z key will remove all marks from the file. You will be asked for verification before this is performed since once they are "zapped" they are gone. (2) "Delete line marks" Pressing the L key will delete all printer marks on the line in which the cursor is positioned. (3) "(O) Delete cursor mark" Pressing the O key will delete the printer marker underneath the cursor. If more than one marker exists under the cursor, only the topmost one is removed. To remove another at that position, press the O key again. NOTE: Print markers should normally be tied to characters in your text. If they are tied to blank spaces beyond the last character on a line, they will be moved as reformatting and wrapping occur. In this situation, print markers can move on top of one another and appear to have been deleted even though they are still present. 208